package com.fengshang.wedding.domain;
/**
 * 
 *@author gembin@gmail.com
 * 
 */
public interface Constants {
	/**
	 * Entity Names
	 */
	public static final String USER_ENTITY_NAME="User";
	public static final String TOPIC_ENTITY_NAME="Topic";
	public static final String MESSAGE_ENTITY_NAME="Message";
	/**
	 * Named Query
	 */
	public static final String USER_FIND_ALL="User.findAll";
	public static final String TOPIC_FIND_ALL="Topic.findAll";
	public static final String MESSAGE_FIND_ALL="Message.findAll";
	
	/**
	 * for i18n
	 */
	public static final String GENDER_MALE="Gender.MALE";
	public static final String GENDER_FEMALE="Gender.FEMALE";
	public static final String ROLE_GUEST="Role.GUEST";
	public static final String ROLE_USER="Role.USER";
	public static final String ROLE_ADMIN="Role.ADMIN";
	
	public static final int DEFAULT_PAGE_SIZE=20;
	/**
	 * suffix for guest
	 */
	public static final String GUEST_SUFFIX="_GUEST#";
	public static final String GUEST_PASSWORD="guest12345";

}
